/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package gcs.modelo;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author Rafe
 */
public class Ronda {
    public int numeroDeRonda;
    public boolean cerrada = false;
    public List<Combate> combates = new ArrayList<Combate>();
    public Categoria categoria;

    public Ronda(Categoria categoria){
        this.categoria = categoria;
    }
    
    @Override
    public int hashCode() {
        int hash = 5;
        hash = 71 * hash + this.numeroDeRonda;
        return hash;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final Ronda other = (Ronda) obj;
        if (this.numeroDeRonda != other.numeroDeRonda) {
            return false;
        }
        return true;
    }
    
    
}
